package com.joysuch.wwyt.mh.utils;

import cn.hutool.core.date.DateUtil;
import lombok.Data;

import java.util.Date;

@Data
public class WeekRange {
    private Date weekStart;
    private Date weekEnd;

    public WeekRange() {
    }

    public WeekRange(Date weekStart) {
        this.weekStart = weekStart;
        this.weekEnd = DateUtil.endOfWeek(weekStart);
    }
}
